Non-volatile one time programmable memory

ABSTRACT

A verify operation is performed on the one time programmable memory block to determine if it has been programmed. If any bits have been programmed, further programming or erasing is inhibited. In another embodiment, the memory block can be programmed and erased until a predetermined page or lock bit in the block is programmed. Once that page/bit is programmed, the one time programmable memory block is locked against further programming or erasing.

TECHNICAL FIELD OF THE INVENTION

The present invention relates generally to memory devices and in particular the present invention relates to a flash memory devices.

BACKGROUND OF THE INVENTION

Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic devices. There are many different types of memory including random-access memory (RAM), read only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and flash memory.

Flash memory devices have developed into a popular source of non-volatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption. Common uses for flash memory include personal computers, personal digital assistants (PDAs), digital cameras, and cellular telephones. Program code and system data such as a basic input/output system (BIOS) are typically stored in flash memory devices for use in personal computer systems.

Flash memory devices can have a areas of memory that are one time programmable (OTP) memory blocks. For example, in a NOR-type flash memory device, the OTP area could be the mini-array that is used by the manufacturer to store data such as the locations of redundant columns, lock bits for specific memory blocks, or other data used by the device's controller.

These mini-arrays, however, take up valuable real estate on the memory die that can be used for the main memory array. This results in an additional cost to the chip manufacturer when the manufacturer is already selling the devices at a small profit margin in order to remain competitive.

For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for a flash memory that has one time programmable memory that does not require additional lock circuitry.

SUMMARY

The above-mentioned problems with flash memories and other problems are addressed by the present invention and will be understood by reading and studying the following specification.

The present invention encompasses a lockable one time programmable memory area in a flash memory device. The method determines the erase status of the memory area. If the erase status indicates that the memory area is programmed, further programming to the memory area is prevented.

Further embodiments of the invention include methods and apparatus of varying scope.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a simplified diagram of one embodiment of a NAND flash memory array architecture of the present invention.

FIG. 2 shows a flowchart of one embodiment of a method of the present invention for programming one time programmable memory.

FIG. 3 shows a flowchart of an alternate embodiment of a method of the present invention for programming one time programmable memory.

FIG. 4 shows a flowchart of one embodiment of a method of the present invention for erasing one time programmable memory.

FIG. 5 shows a block diagram of one embodiment of an electronic system of the present invention.

DETAILED DESCRIPTION

In the following detailed description of the invention, reference is made to the accompanying drawings that form a part hereof and in which is shown, by way of illustration, specific embodiments in which the invention may be practiced. In the drawings, like numerals describe substantially similar components throughout the several views. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and structural, logical, and electrical changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims and equivalents thereof.

While the subsequently described embodiments refer to a NAND flash memory device, the present invention is not limited to such an architecture. The present invention can be implemented in NOR or other types of non-volatile memory configurations.

FIG. 1 illustrates a simplified diagram of one embodiment for a NAND flash memory array of the present invention. The memory array of FIG. 1, for purposes of clarity, does not show all of the elements typically required in a memory array. For example, only two bitlines are shown (BL1 and BL2) when the number of bitlines required actually depends upon the memory density. The bitlines are subsequently referred to as (BL1-BLN).

The array is comprised of an array of floating gate cells 101 arranged in series strings 104, 105. Each of the floating gate cells 101 are coupled drain to source in each series chain 104, 105. A word line (WL0-WL31) that spans across multiple series strings 104, 105 is coupled to the control gates of every floating gate cell in a row in order to control their operation. The bitlines (BL1-BLN) are eventually coupled to sense amplifiers (not shown) that detect the state of each cell.

In operation, the wordlines (WL0-WL31) select the individual floating gate memory cells in the series chain 104, 105 to be written to or read from and operate the remaining floating gate memory cells in each series string 104, 105 in a pass through mode. Each series string 104, 105 of floating gate memory cells is coupled to a source line 106 by a source select gate 116, 117 and to an individual bitline (BL1-BLN) by a drain select gate 112, 113. The source select gates 116, 117 are controlled by a source select gate control line SG(S) 118 coupled to their control gates. The drain select gates 112, 113 are controlled by a drain select gate control line SG(D) 114.

Each cell can be programmed as a single bit per cell (SBC) or multiple bits per cell (i.e., multilevel cell-MLC). Each cell's threshold voltage (V_(t)) determines the data that is stored in the cell. For example, in a single bit per cell, a V_(t) of 0.5V might indicate a programmed cell while a V_(t) of −0.5V might indicate an erased cell. The multilevel cell may have multiple V_(t) windows that each indicate a different state. Multilevel cells take advantage of the analog nature of a traditional flash cell by assigning a bit pattern to a specific voltage range stored on the cell. This technology permits the storage of two or more bits per cell, depending on the quantity of voltage ranges assigned to the cell.

During a typical prior art programming operation, the selected wordline for the flash memory cell to be programmed is biased with a programming pulse at a voltage that is greater than 16V. A verification operation with a wordline voltage of 0V is then performed to determine if the floating gate is at the proper voltage (e.g., 0.5V). The unselected wordlines for the remaining cells are typically biased at approximately 10V during the program operation. Each of the memory cells is programmed in a substantially similar fashion.

In a NOR configuration, the cells are arranged in a matrix. The gates of each floating gate memory cell of the array matrix are connected by rows to wordlines and their drains are connected to column bitlines. The source of each floating gate memory cell is typically connected to a common source line. Still other embodiments can use other architectures.

The above-described NAND and NOR flash memory configurations are arranged into memory arrays that are typically broken down into memory subsets referred to as memory blocks. Some of the memory blocks may be designated as one time programmable (OTP) blocks so that the memory device user can program data into these blocks for permanent storage. For example, a manufacturer of a cellular telephone may program telephone and system identification information into these blocks so that the consumer cannot change the information. A memory device manufacture might have one particular block of memory that is designated as an OTP block.

FIG. 2 illustrates a flowchart of one embodiment of a method of the present invention for programming OTP memory blocks without using a lock bit. This method uses a verify operation to determine if any of the OTP block has been programmed. In one embodiment, the verify operation is substantially similar to an erase verify operation. Since an erased memory block is all logical ones, the verify operation looks for a logical zero to determine that data has been written to the OTP area. In an alternate embodiment, an erased condition might be all logical zeros. In this case, the verify operation looks for a logical one to determine that data has been written to the OTP area.

When it is desired to write data to the OTP area, a verify operation is performed on the entire OTP block 201. If any data has been written to the area 203, the block is locked 205 to any further programming. If the OTP block is erased 203, data can be written to the area 207. Once the data has been written, the OTP block is now considered locked.

FIG. 3 illustrates a flowchart of an alternate embodiment of the present invention for programming OTP memory blocks. This embodiment uses a lock bit or lock page to indicate when the OTP block is locked to further programming. In the alternate embodiment, the OTP block can be written to as many times as desired until the memory is locked. The lock bit or lock page can be located in any memory block of the memory device. The embodiments of the present invention do not require the lock bit or lock page to be in the same block as the OTP block.

Initially, a verify operation may be performed on the lock page or lock bits to determine if they have been programmed 301. In one embodiment, an entire page of memory (e.g., 16 k bits) is used as a lock page. When any one bit of the page (e.g., page 0) has been programmed with any data, the entire OTP block is locked. The programmed address and the data written is not important as long as the verify operation can determine that data has been programmed. Alternate embodiments can use other pages of the OTP block to perform as lock pages. For example, a user space block or a redundant memory block may be used. In still other embodiments, particular bits of a lock page or a particular lock pattern may be used to lock the OTP block. For example, a logical “1010” sequence might be programmed into page 0 in order to lock the OTP block. When this sequence is detected during the verify operation, the OTP block is considered locked.

If there is data programmed into the lock page or lock bits 303, the OTP memory block is locked from further programming 305. If there are no programmed bits in the lock page 303, the OTP block has not been locked and data can be written to this area 307. When the user is done writing data 309 and desires to lock the OTP area, data is programmed into the lock page 311 or the lock bits of the page are programmed. If it is not desired to lock the OTP block 309, data can be subsequently written to and/or erased from the OTP block until the lock page/bits have been programmed.

The embodiments of FIGS. 2 and 3 refer to the OTP area as being a memory block. However, alternate embodiments can use the methods of the present invention to lock multiple memory blocks or even an entire memory device. The size of memory to be locked is not limited by the present invention.

FIG. 4 illustrates a flowchart of one embodiment for locking an OTP area from being erased. Since it is typically desirable that an OTP memory block not be changed in any way once it is programmed as desired, this method provides a user with the ability to keep others from erasing the OTP memory. In one embodiment, this method is part of the embodiments of the above-described method for locking the OTP area. In an alternate embodiment, the erase inhibit method is executed as a stand-alone method.

The verify operation is performed 401 on the lock page or the lock bits, depending on the embodiment used. If the page/bits is erased 403, the OTP area is considered unlocked and can be erased 407. If the page/bits have been programmed in some way or if the lock pattern is present, again depending on the embodiment, the OTP is locked and an erase operation is prevented.

FIG. 5 illustrates a functional block diagram of a memory device 500 that can incorporate the flash memory array with the lockable OTP block of the present invention. The memory device 500 is coupled to a processor 510. The processor 510 may be a microprocessor or some other type of controlling circuitry. The memory device 500 and the processor 510 form part of an electronic system 520. The memory device 500 has been simplified to focus on features of the memory that are helpful in understanding the present invention.

The memory device includes an array of flash memory cells 530 as described above with reference to FIG. 1. The memory array 530 is arranged in banks of rows and columns. The control gates of each row of memory cells is coupled with a wordline while the drain and source connections of the memory cells are coupled to bitlines. As is well known in the art, the connections of the cells to the bitlines determines whether the array is a NAND architecture or a NOR architecture.

An address buffer circuit 540 is provided to latch address signals provided on address input connections A0-Ax 542. Address signals are received and decoded by a row decoder 544 and a column decoder 546 to access the memory array 530. It will be appreciated by those skilled in the art, with the benefit of the present description, that the number of address input connections depends on the density and architecture of the memory array 530. That is, the number of addresses increases with both increased memory cell counts and increased bank and block counts.

The memory device 500 reads data in the memory array 530 by sensing voltage or current changes in the memory array columns using sense/buffer circuitry 550. The sense/buffer circuitry, in one embodiment, is coupled to read and latch a row of data from the memory array 530. Data input and output buffer circuitry 560 is included for bi-directional data communication over a plurality of data connections 562 with the controller 510. Write circuitry 555 is provided to write data to the memory array.

Control circuitry 570 decodes signals provided on control connections 572 from the processor 510. These signals are used to control the operations on the memory array 530, including data read, data write (program), and erase operations. The control circuitry 570 may be a state machine, a sequencer, or some other type of controller. In one embodiment, the control circuitry 570 is responsible for executing the embodiments of the OTP lock method of the present invention.

The flash memory device illustrated in FIG. 5 has been simplified to facilitate a basic understanding of the features of the memory. A more detailed understanding of internal circuitry and functions of flash memories are known to those skilled in the art.

CONCLUSION

In summary, the embodiments of the present invention provide a way to lock one time programmable areas of flash memory devices without additional circuitry to take up valuable real estate on the memory die. The OTP memory block, or other lockable areas, is user lockable with the present invention so that the user can store important data that is desired to be made unchangeable to consumers or other users. Once locked, the OTP memory block and the lock page/bits cannot be programmed or erased.

Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific embodiments shown. Many adaptations of the invention will be apparent to those of ordinary skill in the art. Accordingly, this application is intended to cover any adaptations or variations of the invention. It is manifestly intended that this invention be limited only by the following claims and equivalents thereof. 

1. A method for locking a memory area of a non-volatile memory device, the method comprising: determining an erase status of the memory area; and if the erase status indicates that the memory area is programmed, preventing further programming to the memory area.
 2. The method of claim 1 wherein the memory area of the non-volatile memory device is a predetermined one time programmable memory block.
 3. The method of claim 1 wherein the erase status indicates that the memory area is erased when all data bits of the memory area are a logical
 1. 4. The method of claim 1 wherein the erase status indicates that the memory area is programmed when all data bits of the memory area are a logical
 1. 5. The method of claim 1 wherein determining the erase status includes performing an erase verify operation.
 6. The method of claim 1 wherein the memory area of the non-volatile memory device is the memory array.
 7. The method of claim 1 and further including preventing an erase operation to the memory area if the erase status indicates that the memory area is programmed.
 8. A method for locking a one time programmable memory block of a flash memory device, the method comprising: performing an erase verification of the memory block; and allowing programming to the memory block only if the memory block is erased.
 9. The method of claim 8 wherein the flash memory device comprises a NAND architecture.
 10. The method of claim 8 wherein the flash memory device comprises a NOR architecture.
 11. The method of claim 8 and further including if any bit of the memory block is programmed, preventing any further program and erase operations to the memory block.
 12. A method for locking a memory area of a flash memory device, the memory device comprising a plurality of pages, the method comprising: determining an erase status of a predetermined page of the plurality of pages; and if the erase status indicates that the predetermined page is programmed, preventing further programming to the memory area.
 13. The method of claim 12 wherein the predetermined page is page 0 of the memory area.
 14. The method of claim 12 wherein the predetermined page is located in a different memory block from the memory area.
 15. A method for locking a one time programmable memory block of a flash memory device, the memory device comprising a plurality of pages, the method comprising: performing an erase verify operation on a predetermined page of the plurality of pages; and allowing programming of the memory block only if the predetermined page is erased.
 16. The method of claim 15 and further including if any bit of the predetermined page is programmed, preventing both programming and erasing of the memory block.
 17. The method of claim 15 wherein the predetermined page is comprised of 16 k data bits.
 18. The method of claim 15 wherein the predetermined page is not located in the one time programmable memory block.
 19. A method for locking a one time programmable memory block of a flash memory device, the memory device comprising a plurality of pages, the method comprising: searching for a predetermined data pattern in a predetermined page of the plurality of pages; and if the predetermined pattern is detected, preventing programming of the memory block.
 20. A memory device comprising: a memory array comprising a one time programmable memory block of a plurality of memory blocks, each memory block comprising a plurality of pages; and control circuitry, coupled to the memory array, for executing a one time programmable memory method for locking the one time programmable memory block that includes performing an erase verify operation on a predetermined page of the plurality of pages and allowing programming of the memory block only if the predetermined page is erased.
 21. The memory device of claim 20 wherein the memory array is configured in a NAND architecture.
 22. The memory device of claim 20 wherein the predetermined page is not located in the one time programmable memory block.
 23. A flash memory device comprising: a memory array comprising a one time programmable memory block of a plurality of memory blocks, each memory block comprising a plurality of pages; and control circuitry, coupled to the memory array, for executing a one time programmable memory method for locking the one time programmable memory block that includes determining an erase status of the memory block and if the erase status indicates that the memory block is programmed, preventing further programming to the memory block.
 24. The flash memory device of claim 23 wherein the control circuitry is a state machine.
 25. An electronic system comprising: a processor for generating memory control signals; and a flash memory device, coupled to the processor, for operating in response to the memory control signals, the device comprising: a memory array comprising a one time programmable memory block of a plurality of memory blocks, each memory block comprising a plurality of pages; and control circuitry, coupled to the memory array, for executing a one time programmable memory method for locking the one time programmable memory block that includes determining an erase status of the memory block and if the erase status indicates that the memory block is programmed, preventing further programming to the memory block.
 26. A method for locking a one time programmable memory block of a flash memory device having a plurality of memory blocks, each memory block comprising a plurality of pages, the method comprising: performing an erase verify operation on a predetermined page of the plurality of pages; and allowing erasing of the memory block only if the predetermined page is erased.
 27. A method for locking a one time programmable memory block of a flash memory device having a plurality of memory blocks, each memory block comprising a plurality of pages, the method comprising: performing an erase verify operation on a predetermined bit in a first page of the plurality of pages; and allowing erasing of the memory block only if the predetermined bit is erased. 